package com.mzj.saas.mservice.contract.entity;

import com.mzj.saas.commons.IdEntity;

import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 合同自定义字段值表
 */
@Entity
@Table(name = "saas_house_contract_field")
public class HouseContractField extends IdEntity {
    @Basic
    @Column(name = "contract_nubmer", nullable = true)
    private String contractNubmer; //签约编号

    @Basic
    @Column(name = "field_id", nullable = true)
    private Long fieldId; //字段id

    @Basic
    @Column(name = "field_name", nullable = true)
    private String fieldName; //字段名称

    @Basic
    @Column(name = "name", nullable = true)
    private String name; //字段中文名称

    @Basic
    @Column(name = "value", nullable = true)
    private String value; //字段值

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getContractNubmer() {
        return contractNubmer;
    }

    public void setContractNubmer(String contractNubmer) {
        this.contractNubmer = contractNubmer;
    }

    public Long getFieldId() {
        return fieldId;
    }

    public void setFieldId(Long fieldId) {
        this.fieldId = fieldId;
    }

    public String getFieldName() {
        return fieldName;
    }

    public void setFieldName(String fieldName) {
        this.fieldName = fieldName;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }
}
